<%@ page import="com.minxi.jsp.javabean.Userinfo" %><%--
  Created by IntelliJ IDEA.
  User: 陈晓东
  Date: 2024/6/19
  Time: 15:07
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<%
    String contextPath = request.getContextPath();
    Userinfo userinfo = (Userinfo) request.getSession().getAttribute("userinfo");
%>
<input type="text" name="username" placeholder="请输入用户名" value="<%=userinfo.getUserName()%>" readonly><br>
<input type="text" name="userPhone" placeholder="请输入手机号码" value="<%=userinfo.getUserPhone()%>" readonly><br>
<%
    if (1 == userinfo.getUsersex()) {%>
<input type="radio" name="usersex" value="1" checked disabled>男
<input type="radio" name="usersex" value="2" disabled>女<br>
<%} else if (2 == userinfo.getUsersex()) {%>
<input type="radio" name="usersex" value="1" disabled>男
<input type="radio" name="usersex" value="2" checked disabled>女<br>
<%}%>
</body>
</html>
